public class RangeTableClassModel extends HCIModelAdapter implements XMLMapping, ICatalogObject
Java class represents a range table class that defines a table scheme;
It specifies the structure of a range table (or subscriber range table), with the number and the type of output columns.
This class is then referenced by the RangeTableModel to instantiate them.
Note
Refer to the SAP CC Application Help for more information about this business concept and master data.
RangeTableModel,
SubscriberRangeTableModelThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:complexType name="RangeTableClassType">
<xs:sequence>
<xs:element name="description" type="DescriptionType" minOccurs="1" maxOccurs="1" />
<xs:element name="additionalInfo" type="AdditionalInfoType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="outColumn" type="OutColumnType" minOccurs="1" maxOccurs="15"/>
</xs:sequence>
<xs:attribute name="id" type="xs:string" />
<xs:attribute name="owner" type="xs:string" />
<xs:attribute name="rangeUpperBound" type="RangeBoundType" />
<xs:attribute name="lastRange" type="LastRangeType" />
</xs:complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
RangeTableClassModel.LastRange
This
enumeration lists all the definitions for a range upper bound (bounded, unbounded). |
static class |
RangeTableClassModel.RangeBound
This
enumeration lists all the out range table class attributes (inclusive, exclusive). |
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_OUT_COLUMN
The maximum number of out columns: 15
|
static String |
TAG_NAME
The XML tag name of this data model: "rangeTableClass"
|
| Constructor and Description |
|---|
RangeTableClassModel()
Default range table class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
List<AdditionalInfoModel> |
getAdditionalInfoList()
Gets the list of information dedicated to external system.
|
Class<?> |
getClass(String nsUri,
String tag,
XMLAttributes atts)
Returns the
Java class for a specified XML tag and its attributes in a namespace. |
String |
getDescription()
Gets the range table
description. |
String |
getId()
Gets the range table
identifier. |
RangeTableClassModel.LastRange |
getLastRange()
Gets the
lastRange type of the range table. |
List<RangeTableClassOutColumnModel> |
getOutColumns()
Gets the output columns of the range table.
|
String |
getOwner()
Gets the
owner of the range table. |
RangeTableClassModel.RangeBound |
getRangeUpperBound()
Gets the
rangeUpperBound of the range table rows. |
String |
getTagName()
Gets the XML tag of this HCI model.
|
void |
marshalAttributes(XMLOutputter output)
Gives an XML representation of the attributes of an object.
|
void |
marshalChildren(XMLOutputter output)
Gives an XML representation of the child objects of an object.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setDescription(String description)
Sets the
description of the range table. |
void |
setId(String id)
Sets the identifier of the range table.
|
void |
setLastRange(RangeTableClassModel.LastRange lastRange)
Sets the
lastRange type of the range table. |
void |
setOwner(String owner)
Sets the
owner of the range table. |
void |
setRangeUpperBound(RangeTableClassModel.RangeBound rangeUpperBound)
Sets the
rangeUpperBound of the range table rows. |
marshalpublic static final String TAG_NAME
public static final int MAX_OUT_COLUMN
public RangeTableClassModel()
public String getId()
identifier.identifier of the range tablepublic void setId(String id)
id - The identifier to set to this range tablepublic String getDescription()
description.description of the range tablepublic void setDescription(String description)
description of the range table.description - The description to set to this range tablepublic String getOwner()
owner of the range table.getOwner in interface ICatalogObjectowner of the range tablepublic void setOwner(String owner)
owner of the range table.owner - The owner to set to this range tablepublic RangeTableClassModel.RangeBound getRangeUpperBound()
rangeUpperBound of the range table rows.setRangeUpperBound(RangeTableClassModel.RangeBound),
RangeTableClassModel.RangeBoundpublic void setRangeUpperBound(RangeTableClassModel.RangeBound rangeUpperBound)
rangeUpperBound of the range table rows.rangeUpperBound - The rangeUpperBound of the range table rowsRangeTableClassModel.RangeBoundpublic RangeTableClassModel.LastRange getLastRange()
lastRange type of the range table.setLastRange(RangeTableClassModel.LastRange),
RangeTableClassModel.LastRangepublic void setLastRange(RangeTableClassModel.LastRange lastRange)
lastRange type of the range table.lastRange - The LastRange of the range tableRangeTableClassModel.LastRangepublic List<RangeTableClassOutColumnModel> getOutColumns()
public List<AdditionalInfoModel> getAdditionalInfoList()
search its specific range tables.
An additional information is a property defined by its name and its value.public String getTagName()
getTagName in interface ITagNameProviderpublic void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void addChild(String tagName, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallablemarshalAttributes in interface IXMLMarshallableoutput - The XML output to marshal the object attributes intopublic void marshalChildren(XMLOutputter output)
IXMLMarshallablemarshalChildren in interface IXMLMarshallableoutput - The XML output to marshal the child objects intopublic Class<?> getClass(String nsUri, String tag, XMLAttributes atts)
XMLMappingJava class for a specified XML tag and its attributes in a namespace.getClass in interface XMLMappingnsUri - The unique resource identifier of the namespace of the XML tagtag - The local part of the XML tagatts - The attributes of the XML tagJava class with a default constructor